<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="~{layouts/base :: head(~{::title})}">
    <title>用户中心</title>
</head>

<body style="display: flex; flex-direction: column; min-height: 100vh;">
<nav class="navbar" >
    <div class="navbar-brand">
        <a class="navbar-item" href="/">
            <img th:src="@{/images/logo.png}" src="images/logo.png" width="28" height="28">
        </a>
    </div>
    <div class="navbar-menu">
        <div class="navbar-end">
            <a class="navbar-item" href="/">
                首页
            </a>
            <a class="navbar-item" href="/user/dashboard">
                用户中心
            </a>
            <a class="navbar-item" href="/itmes/add">
                问卷调查
            </a>
        </div>
    </div>
    <div class="navbar-end" sec:authorize="isAuthenticated() " th:replace="~{layouts/base :: logout-button}"></div>
    <div class="navbar-end" sec:authorize="!isAuthenticated() " th:replace="~{layouts/base :: auth-buttons}"></div>

</nav>
    
    <div class="container" style="flex: 1 0 80vh;">
        <h1>用户中心</h1>
        <p>欢迎访问用户中心页面！</p>
    </div>
    
    <footer th:replace="~{layouts/base :: footer}" style="flex-shrink: 0;"></footer>
    
</body>


</html>